import os

proc clear*() = 
   if getEnv("OS") == "Windows_NT":
    discard execShellCmd("cls")
   else:
    discard execshellCmd("clear")